<!-- START 以上内容不需更改，保证该TPL页内的标签匹配即可 -->
<?php if (isset($alert_message)) echo $alert_message;?>
<div class="well">
    <ul class="nav nav-tabs">
      <li class="active"><a href="#home" data-toggle="tab">请修改账号资料</a></li>
    </ul>	
	
	<div id="myTabContent" class="tab-content">
		  <div class="tab-pane active in" id="home">
           <form id="tab" method="post" action="/job/modify" autocomplete="off">
			   <label>任务名称</label>
			   <input type="text" name="name" value="<?php echo $cronInfo['name'];?>" class="input-xlarge" autofocus="true" required="true" >
			   <label>时间调度</label>
			   <input type="text" name="time" value="<?php echo $cronInfo['time'];?>" class="input-xlarge" required="true" > <span>*/1 * * * * ?</span>
			   <label>选择机器</label>
			   <input type="text" name="ip" value="<?php echo $cronInfo['ip'];?>" class="input-xlarge" required="true" >
			   <label>脚本地址</label>
			   <input type="text" name="cmd" value="<?php echo $cronInfo['cmd'];?>" class="input-xlarge" required="true" >
			   <label>开始日期</label>
			   <input type="text" name="sTime" id="sTime" value="<?php echo date('Y-m-d',$cronInfo['sTime']);?>" class="input-xlarge" required="true" >
			   <label>结束日期</label>
			   <input type="text" name="eTime"  id="eTime" value="<?php echo date('Y-m-d',$cronInfo['eTime']);?>"  class="input-xlarge" required="true" >
			   <label>进程数</label>
			   <input name="process"  class="input-xlarge" value="<?php echo $cronInfo['process'];?>"/>
			   <input type="hidden" name="id" value="<?php echo $id;?>"  class="input-xlarge" required="true" >
			   <input type="hidden" name="submit" value="1"  class="input-xlarge" required="true" >
			   <div class="btn-toolbar">
				   <button type="submit" class="btn btn-primary"><strong>修改</strong></button>
				   <div class="btn-group"></div>
			   </div>
			</form>
        </div>
    </div>
</div>

<script>
	$(function() {
		var date=$( "#sTime" );
		date.datepicker({ dateFormat: "yy-mm-dd" });
		date.datepicker( "option", "firstDay", 1 );
	});
	$(function() {
		var date=$( "#eTime" );
		date.datepicker({ dateFormat: "yy-mm-dd" });
		date.datepicker( "option", "firstDay", 1 );
	});
</script>